package com.rockcent.mall.lib.repository;

import com.rockcent.common.common.PageResult;
import com.rockcent.common.domain.enumclass.Whether;
import com.rockcent.mall.lib.dto.MallMemberPayStandardDto;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by DK on 17/3/7.
 */
@Repository
public interface MallMemberPayStandardRepositoryCustom {
    PageResult<MallMemberPayStandardDto> findMallMemberPayStandardPage(Long mallId, String mallName, String isDelete, PageResult page);

    List<Long> compulateMallMerchantsCount(Long mallId, String startDate, String endDate);

    Double compulateMallMerchantsAmount(Long mallId, List<Long> merchantIds, String startDate, String endDate);
}
